import Layout from '@/layout'

export default {
  path: '/operation',
  component: Layout,
  redirect: '/operation/topicTags',
  name: 'operation',
  meta: {
    title: '运营管理',
    icon: 'list'
  },
  children: [
    // {
    //   path: 'topicTags',
    //   component: () => import('@/views/operation/topicTags'),
    //   name: 'topicTagsManage',
    //   meta: {title: '话题标签管理',activeMenu: '/operation/topicTags'},
    //   hidden: true
    // },
    // {
    //   path: 'searchWord',
    //   component: () => import('@/views/operation/searchWord'),
    //   name: 'searchWord',
    //   meta: {title: '搜索推荐词管理',activeMenu: '/operation/searchWord'},
    //   hidden: true
    // },
    // {
    //   path: 'messagePull',
    //   component: () => import('@/views/operation/messagePull'),
    //   name: 'messagePull',
    //   meta: {title: '系统消息推送',activeMenu: '/operation/messagePull'},
    //   hidden: true
    // },
    // {
    //   path: 'userHobby',
    //   component: () => import('@/views/operation/userHobby'),
    //   name: 'userHobby',
    //   meta: {title: '用户偏好标签',activeMenu: '/operation/userHobby'},
    //   hidden: true
    // },
    // {
    //   path: 'report',
    //   component: () => import('@/views/operation/reportManage'),
    //   name: 'reportManage',
    //   meta: {title: '举报管理',activeMenu: '/operation/report'},
    //   hidden: true,
    // },
    {
      path: 'report/detail/:id(\\d+)',
      component: () => import('@/views/operation/report/reportDetail'),
      name: 'reportDetail',
      meta: {
        noCache: true,
        title: '举报详情',
        activeMenu: '/operation/report'
      },
      hidden: true
    },
    {
      path: 'messagePull/detail/:id(\\d+)',
      component: () => import('@/views/operation/message/messageDetail'),
      name: 'messageDetail',
      meta: {
        noCache: true,
        title: '消息推送详情',
        activeMenu: '/operation/messagePull'
      },
      hidden: true
    },
    {
      path: 'messagePull/operate/:id(\\d+)?',
      component: () => import('@/views/operation/message/messageOperate'),
      name: 'messageOperate',
      meta: {
        noCache: true,
        title: '消息推送编辑',
        activeMenu: '/operation/messagePull'
      },
      hidden: true
    },
    {
      path: 'upload',
      component: () => import('@/views/operation/uploadContent'),
      name: 'uploadContent',
      meta: { title: '内容上传', activeMenu: '/operation/uploadContent' },
      hidden: true
    },
    // {
    //   path: 'uploadDemo',
    //   component: () => import('@/views/operation/UploadAuth'),
    //   name: 'uploadDemo',
    //   meta: {  noCache: true,title: '内容上传Demo', activeMenu: '/operation/uploadDemo' },
    //   hidden: true
    // },

    
    {
      path: 'feedback',
      component: () => import('@/views/operation/feedback'),
      name: 'feedback',
      meta: {title: '意见反馈',activeMenu: '/operation/feedback'},
      hidden: true
    },

  ]
}